﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Templates/main.Master" AutoEventWireup="true" CodeBehind="DataTransactions.aspx.cs" Inherits="SAIN.Configuracion.catalogo.DataTransactions" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphStyles" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphScripts" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_Main" runat="server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
    </asp:ScriptManagerProxy>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Panel1" runat="server" Height="480px" Width="700px" Wrap="False">
                <table style="width:100%;">
                    <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Nombre:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtNombre" runat="server" />
                        </td>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text="GUID:" /></td>
                        <td>
                            <asp:TextBox ID="txtGuid" runat="server" /></td>
                    </tr>
                    <tr>
                        <td>
                             <asp:Label ID="Label3" runat="server" Text="Conexión:" /></td>
                        <td>
                            <asp:DropDownList ID="DDLConexion" runat="server" />
                            </td>
                        <td>
                             <asp:Label ID="Label4" runat="server" Text="Procedimiento:" /></td>
                        <td><asp:TextBox ID="txtProcedimiento" runat="server" /></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="CrearTransaction" runat="server" Text="Crear DataTransaction" 
                                onclick="CrearTransaction_Click" /></td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
                <asp:GridView AllowPaging="true" PageSize="10" ID="gvDatatransactions" runat="server" CellPadding="4" 
                    ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" >
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <Columns>
                        <asp:BoundField DataField="iDataTransactionId" 
                            HeaderText="iDataTransactionId" />
                        <asp:BoundField DataField="sGUID" HeaderText="sGUID" />
                        <asp:BoundField DataField="sName" HeaderText="sName" />
                        <asp:BoundField DataField="sProcedureName" HeaderText="sProcedureName" />
                    </Columns>
                    <EditRowStyle BackColor="#999999" />
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                </asp:GridView>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
